package com.jike.noobmoney.mvp.view.activity;

import android.content.Intent;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.jike.noobmoney.R;

import butterknife.BindView;
import butterknife.OnClick;

public class GuizeActivity extends BaseActivity {


    @BindView(R.id.iv_back)
    ImageView ivBack;
    @BindView(R.id.tv_title)
    TextView tvTitle;

    @Override
    protected int layoutResID() {
        return R.layout.activity_guize;
    }

    @Override
    protected void initData() {
        tvTitle.setText("官方推荐发布规则");
    }

    @OnClick({R.id.iv_back, R.id.tv_fabu})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.iv_back:
                finish();
                break;
            case R.id.tv_fabu:
                Intent intent = new Intent(this, PushTaskActivity.class);
                intent.putExtra("type", "guanfang");
                startActivity(intent);
                finish();
                break;
        }
    }
}
